#!/usr/bin/env python
# encoding: utf-8

from PyQt5.QtWidgets import *
from PyQt5.QtGui import *
from PyQt5.QtCore import *

import os

from ui.MeasurePictureDialog import Ui_Dialog

class MeasurePictureDialog(QDialog,Ui_Dialog):

    def __init__(self,parent=None):
        super(QDialog, self).__init__(parent)
        self.setupUi(self)
        self.setWindowTitle("测量示意图")

        # 图片
        pix=QPixmap(":icons/img/pic.png")
        self.label_picture.setScaledContents(True)
        self.label_picture.setMaximumWidth(400)
        self.label_picture.setPixmap(pix)

 